package top.lishuoboy.lombok.annotation.data;

/**
 * 测试User@Data
 *
 * @author lishuoboy
 */
public class UserTest {
    
    public static void main(String[] args) {
        top.lishuoboy.lombok.annotation.data.off.User user1 = new top.lishuoboy.lombok.annotation.data.off.User();
        user1.setId(111);
        user1.setUsername("张三");
        System.out.println(user1);
        
        top.lishuoboy.lombok.annotation.data.on.User user2 = new top.lishuoboy.lombok.annotation.data.on.User();
        user2.setId(222);
        user2.setUsername("李四");
        System.out.println(user2);
        
        top.lishuoboy.lombok.annotation.data.on.User user3 = new top.lishuoboy.lombok.annotation.data.on.User(333, "王五", 18);
        System.out.println(user3);
    }
}
